﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Bundled.Master" AutoEventWireup="true" CodeBehind="Details.aspx.cs" Inherits="Bundled.Pages.Products.Details" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ListView ID="productDetail" runat="server" OnItemCommand="productDetail_ItemCommand">
       <LayoutTemplate>
           <table>
            <tr id="itemPlaceholder" runat="server" >
            </tr>
          </table>
       </LayoutTemplate>
        <ItemTemplate>
            <td>
            <div><asp:Image ID="prodImage" runat="server" ImageUrl='<%#Eval("Product_Image") %>' Height="450" Width="450"/></div></td>
            <td class="prodRowD">
            <div class="bold">Name: </div><asp:Label ID="productName" runat="Server" Text='<%#Eval("Product_Name") %>' />  
            <div class="bold">Price: </div>$<asp:Label ID="productPrice" runat="Server" Text='<%#Eval("Product_Price") %>' />
            <div class="bold">Manufacturer: </div><asp:Label ID="productBrand" runat="Server" Text='<%#Eval("Brand") %>' />
            <div class="bold">Description: </div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer sed ante libero, vitae facilisis velit. 
                Nunc tempus erat vitae quam consequat pretium. 
                Morbi eu facilisis tortor. Nulla ultrices, risus quis aliquet tempus, 
                urna tellus mollis eros, id aliquet magna enim vel lacus. 
                Phasellus aliquet lectus in eros mattis mollis. Vivamus laoreet viverra malesuada. 
                Phasellus sed lectus quam
                <br></br>
            <asp:LinkButton ID="addCart1" runat="server" Text="Add to Cart" CommandName="AddCart" CommandArgument='<%#Eval("Product_ID") %>' CssClass="prodButton"/>
            </td>
        </ItemTemplate>
    </asp:ListView>
</asp:Content>
